package br.com.californiahotel.client.interfaces;

import com.smartgwt.client.util.SC;

public abstract class AsyncCallback<T> implements com.google.gwt.user.client.rpc.AsyncCallback<T> {

	@Override
	public abstract void onSuccess(T result);

	@Override
	public void onFailure(Throwable caught) {
		SC.warn("Erro de conex\u00E3o com o servidor");
	}

}
